﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="MyQueuesView.aspx.cs" Inherits="WebView_SSResourceManager.UserPages.MyQueuesView" %>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">
    
    <div>
    
    <asp:ListView ID="lstV_MyQueuesView" runat="server">
        
            
          <EmptyDataTemplate>
                <table id="Table1" runat="server" style="">
                    <tr>
                        <td> At this moment you are not a member of any one of the queues </td>
                    </tr>
                </table>
            </EmptyDataTemplate>

            <ItemTemplate>
                <tr style="">
                    <td>
                        <a href='../UserPages/ResourceView.aspx?<%# Eval("IdResource") %>'> <%# MyQueusViewPresenter.GetResourceName(Eval("IdResource"))%> </a>
                    </td>
                    <td>
                        <asp:Label ID="Label2"  runat="server" Text='<%# Eval("StartTime") %>' />
                    </td>
                    <td>
                        <asp:Label ID="Label3"  runat="server" Text='<%# Eval("FinishTime") %>' />
                    </td>
                     <td>
                        <a href='../UserPages/DeleteForm.aspx?<%# Eval("IdResource") %>'>Delete</a>
                    </td>
                </tr>
            </ItemTemplate>

            <LayoutTemplate>
                <table id="listTable" runat="server">
                    <tr id="Header" runat="server">
                        <td id="Td1" runat="server">
                            <table ID="itemPlaceholderContainer" runat="server" border="0" style="">
                                <tr id="Tr2" runat="server" style="">
                                    <th id="Th1" runat="server">
                                        Resource</th>
                                    <th id="Th2" runat="server">
                                        Start time</th>
                                    <th id="Th3" runat="server">
                                        Finish time</th>
                                    </tr>
                                <tr ID="itemPlaceholder" runat="server">
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr id="Tr3" runat="server">
                        <td id="Td2" runat="server" style="">
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>

       </asp:ListView>

    </div>

</asp:Content>

